package at.fhooe.mcm.logic.dataexport;

import at.fhooe.mcm.logic.event.Event;
import at.fhooe.mcm.logic.event.EventType;

public class SensorSerializationEvent extends Event
{
	private static final long	serialVersionUID	= 8756859070447997159L;

	public enum Mode
	{
		SERIALIZE, DESERIALIZE
	}

	public static final EventType	TYPE	= new EventType("SensorSerialization");

	private Mode					m_mode;

	@Override
	public EventType getType()
	{
		return TYPE;
	}

	public SensorSerializationEvent(Mode _mode)
	{
		m_mode = _mode;
	}

	public Mode getMode()
	{
		return m_mode;
	}
}
